﻿<?php
//------- INIT

require_once("include.php");

//------- DATA VERIFICATION




//------- LOGIC


if ($login) {
	header("Location: index.php");
	die();
}


//------- HTML
top("USU Login");
?>
		<div id="content">
		<form action="" method="POST">
			<? if ($wrong) { ?>
			<p class="alert">Forkert mail eller adgangskode!</p>
			<? } ?>
			<table>
				<tr>
					<td>Mail:</td>
					<td><input type="text" name="mail" /></td>
				</tr>
				<tr>
					<td>Kode:</td>
					<td><input type="password" name="password" /></td>
				</tr>
				<tr>
					<td>Husk mig:</td>
					<td><input type="checkbox" name="cookie" value="1" /></td>
				</tr>
				<tr>
					<td><input type="submit" name="log_ind" value="Log Ind" /></td>
				</tr>
			</table>
		</form>
		<p><a href="https://www.google.com/a/cpanel/ungespiludviklere.dk">Google Apps</a></p>
		</div>
<?php
bottom();
?>